Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering informerFactory to only return relevant PodSpec information #413

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

halimsam
Copy link
Contributor

Filtering informerFactory to only return relevant PodSpec information to improve GCSFUSE CSI driver memory usage for pods and deployments with larger Pod Specs.

@mborsz
Copy link

mborsz commented Dec 18, 2024

LGTM

Just to confirm, you are using 1.27+ informer library, right? Only in that version you can change the object in place, see https://github.com/kubernetes/client-go/blob/67da6d1a4174c5f881389516fd53f5e13d3eaf85/tools/cache/delta_fifo.go#L146-L147

@halimsam
Copy link
Contributor Author

LGTM

Just to confirm, you are using 1.27+ informer library, right? Only in that version you can change the object in place, see https://github.com/kubernetes/client-go/blob/67da6d1a4174c5f881389516fd53f5e13d3eaf85/tools/cache/delta_fifo.go#L146-L147

Considering this is 1.27/v0.27.0, we are using v0.30.3. Thanks for the LGTM!

@saikat-royc
Copy link
Collaborator

/lgtm

@saikat-royc saikat-royc merged commit 7542c27 into GoogleCloudPlatform:main Dec 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants